<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-autowire="byName">

	<bean id="wAttachRestfulService" parent="restBaseService">
		<property name="target">
			<bean
				class="com.kingdee.ecp.mobile.workflow.service.impl.WorkflowAttachRestfulServiceImpl">
				<property name="userManager">
					<ref bean="userManager" />
				</property>
				<property name="mobileUserCache">
					<ref bean="mUserCache" />
				</property>
			</bean>
		</property>
	</bean>

	<bean id="wFileRestfulService" parent="restBaseService">
		<property name="target">
			<bean
				class="com.kingdee.ecp.mobile.workflow.service.impl.WorkflowFileRestfulServiceImpl">
				<property name="userManager">
					<ref bean="userManager" />
				</property>
				<property name="mobileUserCache">
					<ref bean="mUserCache" />
				</property>
				<property name="mobileApprovalManager">
					<ref bean="mobileApprovalManager" />
				</property>
				<property name="workflowOpinionRestfulService">
					<ref bean="wOpinionRestfulService" />
				</property>
				<property name="workflowAttachRestfulServiceImpl">
					<ref bean="wAttachRestfulService" />
				</property>
			</bean>
		</property>
	</bean>

	<bean id="wOpinionRestfulService" parent="restBaseService">
		<property name="target">
			<bean
				class="com.kingdee.ecp.mobile.workflow.service.impl.WorkflowOpinionRestfulServiceImpl">
				<property name="userManager">
					<ref bean="userManager" />
				</property>
				<property name="mobileUserCache">
					<ref bean="mUserCache" />
				</property>
			</bean>
		</property>
	</bean>

	<bean id="wAgentRestfulService" parent="restBaseService">
		<property name="target">
			<bean
				class="com.kingdee.ecp.mobile.workflow.service.impl.WorkflowAgentRestfulServiceImpl">
				<property name="userManager">
					<ref bean="userManager" />
				</property>
				<property name="mobileUserCache">
					<ref bean="mUserCache" />
				</property>
				<property name="mobileApprovalManager">
					<ref bean="mobileApprovalManager" />
				</property>
			</bean>
		</property>
	</bean>

	<bean id="workflowImageRestfulService" parent="restBaseService">
		<property name="target">
			<bean
				class="com.kingdee.ecp.mobile.workflow.service.impl.WorkflowImageRestfulServiceImpl">
				<property name="userManager" ref="userManager" />
				<property name="mobileUserCache" ref="mUserCache" />
				<property name="mobileApprovalManager" ref="mobileApprovalManager" />
			</bean>
		</property>
	</bean>

	<bean id="workflowImageRestful"
		class="com.kingdee.ecp.mobile.workflow.restful.WorkflowImageRestful">
		<property name="workflowImageRestfulService">
			<ref bean="workflowImageRestfulService" />
		</property>
	</bean>

	<bean
		class="com.kingdee.ecp.mobile.workflow.restful.WorkflowAgentRestful"
		id="wAgentRestful">
		<property name="workflowAgentRestfulService">
			<ref bean="wAgentRestfulService" />
		</property>
	</bean>

	<bean
		class="com.kingdee.ecp.mobile.workflow.restful.WorkflowAttachRestful"
		id="wAttachRestful">
		<property name="workflowAttachRestfulService">
			<ref bean="wAttachRestfulServiceImpl" />
		</property>
	</bean>

	<bean
		class="com.kingdee.ecp.mobile.workflow.restful.WorkflowOpinionRestful"
		id="wOpinionRestful">
		<property name="workflowOpinionRestfulService">
			<ref bean="wOpinionRestfulService" />
		</property>
	</bean>

	<bean
		class="com.kingdee.ecp.mobile.workflow.restful.WorkflowFileRestful"
		id="wFileRestful">
		<property name="workflowFileRestfulService">
			<ref bean="wFileRestfulService" />
		</property>
	</bean>

	<bean
		class="com.kingdee.ecp.mobile.workflow.restful.WorkflowRestful"
		id="wRestful">
		<property name="workflowFileRestful" ref="wFileRestful" />
		<property name="workflowOpinionRestful" ref="wOpinionRestful" />
		<property name="workflowAttachRestful" ref="wAttachRestful" />
		<property name="workflowAgentRestful" ref="wAgentRestful" />
		<property name="workflowImageRestful"
			ref="workflowImageRestful" />
	</bean>

	<bean id="wAttachRestfulServiceImpl"
		class="com.kingdee.ecp.mobile.workflow.service.impl.WorkflowAttachRestfulServiceImpl">
		<property name="userManager">
			<ref bean="userManager" />
		</property>
		<property name="mobileUserCache">
			<ref bean="mUserCache" />
		</property>
	</bean>

</beans>


